﻿using Xejen.Ipc.Framework.Flows;
using System;
using System.Collections.Generic;
using System.Text;

namespace Xejen.Ipc.Framework.Steps
{
    /// <summary>
    /// 表示步骤构建器
    /// </summary>
    /// <typeparam name="TData"><inheritdoc cref="IFlow{TData}" path="/typeparam[@name='TData']"/></typeparam>
    /// <creator>marc</creator>
    public interface IStepBuilder<TData>
        where TData : new()
    {
        /// <summary>
        /// 创建一个步骤
        /// </summary>
        /// <returns></returns>
        IStep<TData> Build();
    }
}
